{% extends 'news/forget.html' %}
{% load static %}
{% block style %}
        <link rel="stylesheet" href="{% static 'news/css/log.css' %}">


    <link rel="stylesheet" href="{% static 'news/css/chongzhi.css' %}">
{% endblock %}


{% block top %}
    <div id="up">
        <div></div>重置密码
    </div>
{% endblock %}
{% block content %}
    <form action="{% url 'news:log' %}" method="post">
    {% csrf_token %}
    <div id="down">
        <input type="text" name = 'username' value = '{{ author.username }}' style="display: none">
        <div class="c2">
            <input type="password" name="new_pwd1" placeholder="请输入新的密码">
        </div>
        <div class="c3">
            <input type="password" name="new_pwd2" placeholder="请再次输入密码">
        </div>
        <input type="submit" name="up2" value="完成">
    </div>
    </form>
{% endblock %}
